package com.bdmc.alarm.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;


/**
 * 报警规则对象 alarm_rule
 *
 * @author bdmc
 * @date 2022-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("alarm_rule")
public class AlarmRule extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 报警规则id
     */
    @TableId(value = "alarm_rule_id")
    private Long alarmRuleId;

    /**
     * 报警规则名称
     */
    private String alarmRuleName;
    /**
     * 规则对象 人或车辆
     */
    private String ruleTarget;
    /**
     * 是否启用
     */
    private Integer enabled;
    /**
     * 备注
     */
    private String remark;

    /**
     * 告警类型
     */
    private String alarmType;
    /**
     * 油量消耗
     */
    private Integer oilWaste;
    /**
     * 最大停留时间
     */
    private Integer stopMaxMinute;
    /**
     * 出围栏最大时间
     */
    private Integer outMaxMinute;
}
